//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-20
//
//  File Name:	YHQDockWidget.h
//
//  Notes:
//
//======================================================================================
#ifndef YHQDockWidget_H
#define YHQDockWidget_H

//local library
#include "YHQCodingCore_Global.h"
#include "YHHPropertyDefine.h"

//QT include
#include <QDockWidget>
#include <QString>

//pre-declare
class QTextEdit;//Text edit

/// <summary>YHQ DockWidget</summary>
/// <author>Kevin Yang</author>
/// <date>2013-4-20</date>
class YHQCodingCore_SHARED_EXPORT YHQDockWidget : public QDockWidget
{
    Q_OBJECT;
    
public:
    explicit YHQDockWidget(QWidget *parent = 0);
    ~YHQDockWidget();
    
public:

    /// <summary>Output message</summary>
    /// <param name="iString">input string</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-20</date>
    virtual void OutPutMessage(const QString & iString);

public://property

    /// <summary>OutTextEdit</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-20</date>
    YHHPropertyDefinePointerGetGetSet(OutsideTextEdit, QTextEdit);

};

#endif // YHQDockWidget_H
